package com.xtsoft.platform.globe.interfaces;

import org.springframework.security.core.userdetails.UserDetails;

import java.io.Serializable;

/**
 * @author defencez
 * @description 通用用户接口
 * @date 2024-04-21  11:06
 * @edit
 * @other
 */
public interface CommonUser<ID extends Serializable> extends UserDetails {
    ID getUserId();

    ID getLoginId();
}
